package cao.oschina.api;

/**
 * URLs
 * <p/>
 * Created by Haidy on 15/3/13.
 */
public class URLs {

    public static final String HOST = "www.oschina.net";//192.168.1.213  www.oschina.net
    public static final String HTTP = "http://";
    private static final String URL_SPLITTER = "/";
    private static final String URL_API_HOST = HTTP + HOST + URL_SPLITTER;

    //GET方法
    public static final String NEWS_LIST = URL_API_HOST + "action/api/news_list";               //新闻
    public static final String BLOG_LIST = URL_API_HOST + "action/api/blog_list";               //博客
    public static final String NEWS_DETAIL = URL_API_HOST + "action/api/news_detail";           //新闻详情
    public static final String BLOG_DETAIL = URL_API_HOST + "action/api/blog_detail";           //微博内容

    public static final String COMMENT_LIST = URL_API_HOST + "action/api/comment_list";         //评论列表
    public static final String BLOG_COMMENT_LIST = URL_API_HOST + "action/api/blogcomment_list";//博客评论列表

    public static final String TWEET_LIST = URL_API_HOST + "action/api/tweet_list";             //动弹
    public static final String MY_INFORMATION = URL_API_HOST + "action/api/my_information";     //我的信息

    public static final String ACTIVE_LIST = URL_API_HOST + "action/api/active_list";           //活动
    public static final String MESSAGE_LIST = URL_API_HOST + "action/api/message_list";         //消息留言

    //POST
    public static final String LOGIN = URL_API_HOST + "action/api/login_validate";              //登录
    public static final String PORTRAIT_UPDATE = URL_API_HOST + "action/api/portrait_update";   //上传头像
}
